sudo apt-get update && sudo apt-get install -y cmake libudev-dev libevdev-dev qt4-dev-tools

# build JoystickLibrary
pushd $(dirname $0)/JoystickLibrary/cpp

rm -rf build
mkdir build && cd build
cmake -std=c++11 .. && make

popd

